import request from '@/utils/request'

// 查询移动任务列表
export function listMoveTasks(data) {
  return request({
    url: '/system/inventory/moveList',
    method: 'post',
    data: data
  })
}

// 更新任务状态
export function updateTaskStatus(data) {
  return request({
    url: '/system/inventory/updateStatus',
    method: 'post',
    data: data
  })
}

// 取消任务
export function cancelTask(id) {
  return request({
    url: '/system/inventory/cancel/' + id,
    method: 'post'
  })
} 